LPS-44317 Passing a PortletResponseWrapper through the filter chain results in a ClassCastException