To get rid of that behavior:
- Remove the network drive from the Login Items
- Drag and drop the network drive to the dock
[EDIT] The login / password dialog showing up whenever we log in has been fixed in 10.12.2 at last.
rm ~/Library/Preferences/com.apple.screensaver.plist