Automatic account id initialization for logs

- Moved account id initialization from parameterless constructor, so
that auto mapping engine would not require active http context while
fetching data from the database.