Update test_connect() to reflect API changes

Looks like paramiko changed a bit internally. All unit tests pass now!