Fix cookies domain migration issue