cleanup leftover cookies from cookie path migration
added test for removable code