Improve default cookie params and allow overriding them in config
Merge pull request #9 from PaulSD/config_cookie_opts

Improve default cookie params and allow overriding them in config