public void GetLogin_WithSignInMessage_ReturnsLoginPage()
        {
            var msg  = new SignInMessage();
            var val  = msg.Protect(60000, protector);
            var resp = Get(Constants.RoutePaths.Login + "?message=" + val);

            AssertPage(resp, "login");
        }
        private HttpResponseMessage GetLoginPage(SignInMessage msg = null)
        {
            msg = msg ?? new SignInMessage()
            {
                ReturnUrl = Url("authorize")
            };

            var val  = msg.Protect(60000, protector);
            var resp = Get(Constants.RoutePaths.Login + "?message=" + val);

            resp.AssertCookie(AuthenticationController.SignInMessageCookieName);
            client.SetCookies(resp.GetCookies());
            return(resp);
        }