Improve syncpass tool logic.
Issue #1952042 by EdNet - Double check if good random password is generated.