presto-main/src/main/java/io/prestosql/security/AccessControlManager.java/AccessControlManager/authenticationCheck
class AccessControlManager:    private void authenticationCheck(Runnable runnable)
    {
        try {
            runnable.run();
            authenticationSuccess.update(1);
        }
        catch (PrestoException e) {
            authenticationFail.update(1);
            throw e;
        }
    }