Fixing broken code that prevents clients from logging into modded servers.