avformat/libssh: check the user provided a password before trying to use it