Update default login template to optionally accept a username instead of an email address.