Improve action logging in broker

Reduce the number of arguments clients have to send, and distinguish calls that are run in the context of a user from those that are establishing a user.