testprogs: use texpect in passwords test file instead of rkpty.