Check access for user when updating account
Fix up some failing tests
Merge branch 'pull/186'