Fix password type to allow saving a null password.