Bug 5995 Followup: checkpw was returning inconsistent values