Switched to use Owin.SignInManager
Cleaned up code