Multireset passwords quick'n'dirty implementation fixing errors.