Replace CORS serlvet filter with a @Provider ContainerResponseFilter impl.