[T7484] add _check_credentials function.

Merged Joel Maglioni requested to merge T7484 into master

Merge request reports