title: HttpContext.Current.User not populated with Windows Authentication enabled
body: <p>I have an asp.net intranet application using windows authentication.  I created the application years ago with VS 2005, and the windows authentication bit was working perfectly.  My web.config has the following (inside configuration -> system.web element):</p>
  
  <pre><code>    &lt;authentication mode="Windows" /&gt;
      &lt;authorization&gt;
          &lt;deny users="?"/&gt;
      &lt;/authorization&gt;
  </code></pre>
  
  <p>I test this in Firefox to confirm that the credentials are required, and indeed I'm prompted for my network credentials when first accessing the site, and I'm denied if they are invalid.</p>
  
  <p>However, when I try to access HttpContext.Current.User.Identity, the object has empty strings for Name and AuthenticationType, and Authenticated = false.  I thought I might need to enable the WindowsTokenRoleProvider after looking around the interwebs, and this did not change anything.</p>
  
  <pre><code>    &lt;roleManager defaultProvider="WindowsProvider" enabled="true" cacheRolesInCookie="false"&gt;
          &lt;providers&gt;
              &lt;clear/&gt;
              &lt;add name="WindowsProvider" type="System.Web.Security.WindowsTokenRoleProvider"/&gt;
          &lt;/providers&gt;
      &lt;/roleManager&gt;
  </code></pre>
  
  <p>Two things I've done since the last time I've seen it work are upgrade the project to VS 2008 through the conversion wizard, and I also put it down for several months while my co-workers may have worked on it here or there.  I was pretty sure that the only thing that affects my User.Identity are the values in the web.config mentioned above, but apparently I'm doing something wrong.  Anyone else encounter a similar issue or see something I'm doing wrong?  Thanks.</p>