[#7674] Include IP address in user audit logs

Extracted a new method so that we don't further clutter the model with
references to the current web request
6 files changed