Make "ssh-askpass" detection "TERM" agnostic