<system.web>
  <authentication mode="Forms">
    <forms cookieless="UseCookies" loginUrl="~/login.aspx"/>
  </authentication>
<system.web>
