As shown in https://github.com/Requarks/wiki/issues/1342, usernames are only allowed for LDAP authentication. All other methods should use email. This may be unorthodox but it would be less confusing if the UI (and documentation) was explicit about it.