accounting: update account list cache when modifying/validating accounts

Using a cache cookie that is incremented each time an account is added or modified,
we can keep an (almost) up to date list of accounts in the UI.

Fixes #20170221-1812E21
2 jobs for fix/accounting-fix-account-cache
in 0 seconds, using 0 compute credits, and was queued for 0 seconds