Keyring stupidly remembers wrong password and never asks it again
Steps to reproduce:
- push to a given repository
- when prompted for the password, accidentally type a wrong one. The push will get rejected because of wrong credentials
- push again
Expected: Upon the failed login attempt, the wrong password shouldn't be stored into the keyring because it has been rejected so it's obviously the wrong password. Therefore, on the second attempt it should prompt for password as if it was the very first time.
Observed: On the first failed login, the password is stupidly stored to the keyring. Therefore, at the next attempt the wrong stored password will be blindly used without prompting the user, and the login will obviously fail, and I'll never be able to push to that repository ever again until I figure out how to manually delete a password that has been stored.