Handle invalid cookie header