Ensure cookies are deleted from prefs fixes #214