Re-factor FormsAuthenticationHandler and add unit tests. This will help implementing support for other cookie based authentication mechanism such as Live authentication. Code Review : https://codereview.appspot.com/79030043/