Added acceptance test for cookie handling