fix auth.