Delete invalid cookies.