Fixes server crashing when confirming password reset