I had this same problem after updating egit. This advice from another forum worked:
Open up Preferences > General > Security > Secure Storage. Select “OSX Keystore Integration”, then click “Change Password…”
If you see a dialog saying “An error occurred while decrypting stored values… Do you want to cancel password change?” Click “No.”
This will reset the secure storage master password in the OSX Keystore. You will be asked if you want to provide additional information for password recovery, which is optional.