Fix Cannot install with auth proxy.

Fix cannot install with auth proxy.