[server][DBClientTest] Add a new function: makeUserIdIndexMap() based on testDBClientUser::setupWithUserIdIndexMap().