SERVER-9518 Change getAllDatabaseNames from using GlobalWrite to using GlobalRead