Behaviour test through handle_function_call -> execute_code -> hermes_tools
(local session kernel) and through the remote RPC dispatch: the nested call's
hook kwargs must carry the outer session_id/turn_id. The salvaged commit was
rebased onto the programmatic_file_read() dispatch wrapper, which both paths
keep. The RPC authorization test's handle_function_call stub now accepts the
identity kwargs the real function takes.
Fixes#145870
Move TestSandboxRpcAuthorization and _FakeFileRpcEnvironment out of
test_code_execution.py into test_code_execution_rpc.py (behaviour
unchanged), keeping the grant helper and import-error tests in place.
Refs #84271