Added 'secure' and 'httponly' properties to cookies.