cookieOptions for passing options to cookies

 - test case for cookieOption
 - make conf file work with older redis's