Convert out put document.cookie to cookiemanager for import.