The solution to this problem can be found on Apple’s support website. It requires you to delete a folder in the location ~/Library/Keychains/ which has a long alphanumeric name. After you have deleted this folder you should restart your Mac immediately. This should prevent the problem from reoccuring on subsequent logins.
Tech Tip: Stop “Local Items” keychain prompts on Mac
