Speed up RPC authentication (reworked pull from Joel Katz)