WIP: Return "terminated" instead of "disconnected" in one case.

This happens when the sshd process on the remote side is killed, which
happens when a session is killed with loginctl kill-user or loginctl
kill-session.

Needs discussion.
WIP: Adapt integration tests.