(#3910) Use the requested environment of node as default in exec terminus
A request has an environment, and if the ENC doesn't override it we should use
the environment in the request. This also means that we have to pass along
the request environment when the compiler terminus requests a node.