Fixed server crash when reading from malformed secure cookies.