Fixes password change route error