Cookie fix

Fixes issue https://github.com/cartalyst/sentry/issues/464