Fix test_client_new for standalone and mongos.