I may be missing something: what happens when the user has e.g. set credentials in the UI as part of the plugin config and the discovery reports those credentials as empty?