Add test cases for SSH based authentication

This PR adds test cases for SSH authentication (where possible). It also builds against the bleeding edge perl, as ```5.20``` is not that far away.