D-12341 api validator mbean memory leak

Bugfix to address the issue of MBeans not being unregistered when the APIValidation filter is reconfigured.