Added cookie to requests for local redirect support
test for cookies being set