Append a timestamped audit entry for a login or logout attempt.
Usage
record_auth( username, action, result, )
Auth entries carry no service, so they surface regardless of which service the Audit Trail tab is filtered to.