Only update displayed text for password characters if password mode is
enabled.