isAuthenticationMechanismPresenterror

small bug in isAuthenticationMechanismPresent()