SSH2: connect to server in login() function

Making this change so https://github.com/phpseclib/phpseclib/pull/240 can be merged.