Made attemptingAuth local only.