Skip Usage capture for sub-account users

oo-admin-ctl-usage optimization: create user id => {login, usage_account_id} cache before processing usage records

Use session.with(safe:true) option when updating usage records
Merge pull request #1542 from pravisankar/dev/ravi/us3409-fixes

Merged by openshift-bot