PYTHON-714 Work around localhost exception issues in add_user when connected to MongoDB >= 2.7.1.