fix wrong urlencoded favorite cookie