session: expose rpc_session_access() function for testing session ACLs in other rpcd...