Improve isAuthMethod()