Fix checkstyle issues in new Cookie code.