Fixed tests for PR #41 - Ensures all ssh commands are run through a login shell