QA-5976: Create provider only if some properties are defined + try to unregister it if none is defined