Fix the proxy resolution when a proxy PAC is configured in the system

* Ensure that the stored settings are loaded before resolving proxy of the server URL