[fix bug 864822] Update username when a user changes his email.