NPE fix (#44)

Showing password length might violate security policies.