Code tidy up from pull request #737.

Tidied up the code from pull request #737.  Removed duplicate code in
the 5 attributes that dealt with the HTML Redirects.
Merge pull request #738 from gregpakes/master

Cody tidy up from pull request #737.  Removed duplicate code and consolidated HTML Redirect logic within the base AuthenticateAttribute