The state leak was causing `ExtraLocalesController.client_overrides_exist?` specs to fail randomly.
Follow-up to 19763065394e09de2c162a869aa953c7cd4e6fa3
Discourse needs a bunch of data preloaded before it can start up.
Normally we throw blobs of this into the HTML document that is requested
but in some cases that's awkward to retrieve.
For example with Ember CLI you have a separate javascript application
that needs to make its own HTML.
This API endpoint returns a JSON object with all the data Discourse needs to
bootstrap and start up.