Update application/libraries/Tank_auth.php

Security fix: password is being changed even though old password is not correct.