Update password hiding to avoid seg fault.

late night not enough coffee ....