Merge branch 'logging-for-account-bugs' into 'master'

Add logging to track down account bugs

See merge request !1239
1 job for master in 29 minutes and 7 seconds (queued for 4 seconds)
Status Job ID Name Coverage
  Test
passed #4766
test

00:29:07