Changed to use DefaultConnection connection in web.config.
Added optional arguments to the SignIn method for tokenLifetime and persistentCookie.