In a server I\'m building I want to set a cookie with an auth token that gets set when the user logs in. The login request is a POST XHR with a form containing my username and p