Fix cookies methods in BrowserTestCase (GPFUNCTIONALTEST-115)