Fix cookies for localhost