added cookie configuration
Merge pull request #18 from broberson/master

Cookie settings aren't flexible enough