SYS-1237  fix secure password to work when there is not password supplie...

...d