fix for tomcat stripping of cookie data with colons (add quotes). Also, added more verbose logging.