fix for auth email or username backend.