Add support for setting cookies

We set feature flips in the rails session so it's useful to be able to craft an appropriate cookie before performing tests.

Currently this needs an extra visit to set the domains cookies. There may be a better way to do this...