LPS-50345 prevent extraneous error messages by not attempting to encrypt a null password.