globals: Keep ExternalURL up to date
Created by: tsenart
This commit makes the globals package keep up to date with changes to the configured ExternalURL in the management console (critical config).
Before this change, updates to the external URL were not reflected in many places in the app before it got restarted.
Fixes #4056
Test plan: Reproduction steps in #4056