public void LoginAsUser(UserService user)
{
if(user.LoggedIn)
{
// store the ref to the user so we can get the cookies later
User = user;
// TODO: should we be doing this later?
foreach(Cookie c in user.LoginCookies)
{
bugProxy.CookieContainer.Add(c);
}
}
}