Invert test in passwd loop.

Clumsy me bumped into that very minor bug ,-)

Previous version would give the user 4 tries (terrible, 3 is enough!), and would still display an error if the last one was successful (which is very slightly more serious).

Funnily enough, I think it's code that you copied over from chroagh... ,-)