migrated from HandlerInterceptor to GeoServerFilter due to test framework support issues.