EDIT: I misread the linked post, ignore me!
<strike>crypt is the hashing function, not the password checking function</strike>
<strike>crypt is the hashing function, not the password checking function</strike>
So returning the original hash for a valid password is the success case.