ASP.NET's web.config allows for all of this. You can use Windows, Forms or Passport authentication. Not only can it automatically set cookies and automatically redirect users, it also can store credentials and have role based security.
Windows Security
The windows security is much like IIS's Integrated Windows Security.

Forms Based Security
This method redirects to a form to login and set the cookies, it works much like the Windows Based Security.

Passport
Passport also is included in the ASP.NET package. It does require you to have a business account with passport to use.

However, all of this relies on Passport.com's response and responses can be faked.