Allow to log in using the e-mail address when user names are enabled.