Fixes #84, a cookie should be set for 6 months instead of for a session