Fixed an annoying bug that would erase the endpoint in the config file for clients using the web service connection.