TDI-30227: make sure the empty password to encrypt also.