Fixed cookie domains when overriding the tests url. Added an experimental environment variable SELENIUM_CLIENT_SINGLE_INSTANCE to try and run all tests in the same browser instance.