api.authenticate writes to the mod cache after completion
When using the authenticate method with a username and token the reloadCache method is called (why do that at all?) and the Promise it returns is discarded (see this line of code.) This causes the example code in README.md to randomly fail; it calls searchMods after authenticate which loads the cache at the same time as the reloadCache invocation from the authenticate method is writing to it.