Description of problem:
After a user edits their username in My Settings they can't log in anymore because their password is simultaneously changed to empty string, and the login page won't allow to log in with the empty Password text box.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Log in
2. Click My Settings
3. Enter a new name in Name text box
4. Save changes
5. Log out
6. Try to log in again
It's impossible to log in because the password has been changed to empty string.
Changing user's name doesn't cause the change of password. It's possible to log in after the change of user's name with the old password.
The json in the POST request when a user edits their name includes 'password: ""'. It shouldn't.
Zero-length password is also set if a user enables or disables their email notifications in My Settings or edits their e-mail address.
Edit username is not a common usecase and low priority issue.Right now we don't have resources to pursue this.