Before we start polling the API, we should check if the credentials are actually valid.
At the moment, the adapter will start polling once credentials are entered, even if these are incorrect.
It isn't clear to the user the credentials aren't correct.
This causes a lot of errors to be logged that could/should be avoided.
Before we start polling the API, we should check if the credentials are actually valid. At the moment, the adapter will start polling once credentials are entered, even if these are incorrect.