With commit 45cb54d, the user now logs in via username instead of email address.
With commit 07dbff7, different users (i.e. different usernames) can now register with the same email address. The advantage of this is that the same person can create different accounts (with different usernames) using the same email address, and perform a different annotation campaign with each username
This should be reviewed further to see if this is the best approach