fix cannot access oauth/authorize