Rob Shearman : wininet: Only clear authentication header if the connection has authentication information .