SERVER-9088: ensure printjson() doesn't attempt to access DB global
SERVER-9029 Add more informative log message when building unique index on system.users fails