TDI-30227: fixed the junit problem for emtpy password.