fixes #4806 add support to register compute resource provider from a plugin