Moving cookie handling in to main site
BUG: incorrect config var name