audit: fix audit_log entry when creating accounts

The account_record_id column wasn't populated.

Signed-off-by: Pierre-Alexandre Meyer <pierre@mouraf.org>
beatrix: fix tests failures due to audit changes

Signed-off-by: Pierre-Alexandre Meyer <pierre@mouraf.org>