Quick fix for ssh_login_pubkey

Fixes #3772, closes #3774
Land #3775 - ssh_login_pubkey fix for the uninit prepended_creds bug

Closes #3774