Update loginname to keep in sync with email address.