Removed the expiration date for the cookie.

The cookie will now expire when the browser is closed. It will still expire on the sever and will now expire after only 5 minutes of inactivity.

Closes #512