Fixes #7423: Allow Bastion to be used by other UI plugins.

Not seeing it and running `grunt test` still doesn't work after a fetch.