[3.8] Use clearCookie instead of removeCookie to remove cookies