ws: Rearrange libssh logging during tests to diagnose travis

Diagnose new test races by rearranging the SSH detailed logging.

Closes #774
Reviewed-by: Marius Vollmer <marius.vollmer@redhat.com>