presto-main/src/main/java/io/prestosql/server/InternalAuthenticationManager.java/InternalAuthenticationManager/filterRequest
class InternalAuthenticationManager:    @Override
    public Request filterRequest(Request request)
    {
        return jwtGenerator.map(Supplier::get)
                .map(jwt -> fromRequest(request)
                        .addHeader(PRESTO_INTERNAL_BEARER, jwt)
                        .build())
                .orElse(request);
    }