The web UI allows people to log in using their e-mail address instead of their username (see
AuthenticationForm.clean_usernamein reviewboard/accounts/forms/auth.py). Unfortunately, the Web API doesn't allow the same, which leads to some confusion when people are typing their credentials into therbtprompt.We'd like to make it possible to log in to the API using e-mail address instead of username.