CSHARP-1090: fixing localhost exception for addUser against server 2.7.