CentralAuth optimizations

* CentralAuthUser::getInstance uses a cached object if possible
* queryAttached requires an extra query that isn't even used

Change-Id: I3549fc3fb21fc54c3b1a00ec41d838ecec35a2b5
Merge "CentralAuth optimizations"