Fix startup exception with JSONFile+login-enabled on Forge 1.5.2 or later