If the credentials are incorrect you should not save them to the keychain
If the credentials are incorrect you should not save them to the keychain