 <p>The problem was resolved (sort of). The issue was that the page required a non-basic authentication on a separate web page. I bypassed it by editing code on the server, but could not solve the problem from within powershell</p>