login() must be called after getServerPublicHostKey().
Merge pull request #9718 from owncloud/sftp-early-login

SFTP: login() must be called after getServerPublicHostKey().