Fixed #21535 -- Fixed password hash iteration upgrade.

Thanks jared_mess for the report.