Fix to auth.