Patch to fix password reset feature.