Fixes #5198 - make bastion a true single page application.