Fix production config error on load

- Make unless statement for config to pull from secrets.yml only if in test/development
- If production, the ENV config loop is skipped (because no secrets.yml file on production server)
- ENV variables are exported in production