Added initial support for two-factor authentication.

Currently supporting first pubkey then password for auth methods
in that order.
Now supporting multiple authentication modes when password is first as well.
Merge branch 'ssh_multiple_auth'