Fix cookie not being passed around (Secure == https)