Work around localhost exception issues in addUser helper
Work around localhost exception issues in addUser helper

JAVA-1528

jyemin/mongo-java-driver,kay-kim/mongo-java-driver,PSCGroup/mongo-java-driver,jsonking/mongo-java-driver,rozza/mongo-java-driver,rozza/mongo-java-driver,jsonking/mongo-java-driver,jyemin/mongo-java-driver,gianpaj/mongo-java-driver