backport for TRUNK-3170 getProviders(String query, Integer start, Integer length, Map<ProviderAttributeType, Object> attributes) should allow the option to include or not include retired providers
reverted unintented deletion of logic omod