Adds authentication backend that accepts emails or usernames