add settings for cookie domain.
Merge pull request #108 from marcbachmann/master

add settings for cookie domain.