Check self-signed fingerprint.
ProviderAPI refactoring.

Authenticate and Register methods are now renamed and split. It's much
more readable, the new emacs-default indentation helps to that too.
Merge branch 'bug/No-real-pinning-happening-#6093' into develop