added debug statements to password prompt recognition code