MONDRIAN-1835 - handling null passwords in PasswordHelper