Add test_util for overriding session privs for onion crypt