title: WebView Source - automatic authentication
body: <p>I am looking for a way to automatically authenticate for a web site.
  I've got a WebView in my c# Windows Store App and I want to access a site that is password protected. </p>
  
  <pre><code>WebView.Source= new URI("http://UserId:Password@foo.com/");
  </code></pre>
  
  <p>This is not working as I get a Security exception:</p>
  
  <pre><code>A security problem occurred. (Exception from HRESULT: 0x800C000E);
  </code></pre>
  
  <p>The method below is also not working as I only get the html of a site, but no css or JavaScript:</p>
  
  <pre><code>HttpClientHandler handler = new HttpClientHandler();
  handler.Credentials = new NetworkCredential("UserId", "Password");
  HttpClient client = new HttpClient(handler);
  
  string body = await client.GetStringAsync("http://foo.com");
  webview.NavigateToString(body);     
  </code></pre>
  
  <p>Is there any other way?</p>