Catch throwables because the browser cookie access won't always work.