auth_override_class_method bug fix

Fixed: Those methods set to 'none' in auth_override_class_method, still
checked for rest api key.