Fixes #6993: Ensure repo discovery proxy setup is loaded in production.

Without this change, repo discovery behind a proxy works within the
Rails development environment. However, the monkey patch to Anemone
to enable authenticated proxies is not loaded in production.