I kept getting an error and the NC would keep rebooting to an automatic data wipe if I tried to run the BN store. After 4 re-root processes, I finally found out what the cause was.
Disabling the OTA update seems to cause the authentication error if you try to launch the BN store.
I removed the below from your script, and it no longer causes the data wipe caused by the authentication error.
echo *************************
echo * Disabling OTA Updates *
echo *************************
adb shell mount -o rw,remount -t ext2 /dev/block/mmcblk0p5 /system
adb shell mv /etc/security/otacerts.zip /etc/security/otacerts.zip_DISABLED_OTA_UPDATES
echo Success
ping -n 2 127.0.0.1 >NUL
I tested with 1.0, updated to 1.01, auto nooter, then auto-config.
EDIT: This post seems to be quoted a few times, but this is not the case. I later discovered that the reason for resets/authorization errors was due to using Titanium to recover data + apps. If you recover data associated with BN Apps, it causes the authorization error.