GATEWAY-3386: Removed audit logging from passthru calls, reworked unit t...

...ests to share common code.