A security policy change was made in macOS 10.12, resulting in the requirement to enter the username and password to mount a network share, even if these credentials have already been stored in the user's Keychain.
The steps to disable this setting and revert to the previous method for mounting volumes using stored credentials can be found here: https://support.apple.com/en-us/HT207112