Fixed reset issue with double encoding of password