Changed request type for auth.