adding support for cookie configuration options