Removed an erroneous second call to chain.doFilter()
Printing the cookie name and value now instead of the classname and hashCode