Fix for password reset on production