Avoid exception with JSONFile+login-enabled on Forge