Fix multiple bugs in sshng2john.py