Fix for #1924: don't let the password be empty/blank.