UI_UTIL_read_pw() misinterpreted the values returned from UI functions.