Thanks for visiting Apple Support Communities.
If you are being unexpectedly prompted for the login keychain password on your Mac, you may need to reset the keychain. See this article for step by step instructions:
Resetting your keychain in Mac OS X
If you are using iCloud Keychain, see this article for help:
iCloud: Troubleshooting iCloud Keychain