Fix Devise reset password token invalid bug #353