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.
Merge pull request #4620 from ehelms/fixes-6993

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