Fixes #5719: Sets context from URL during system boot.
Merge pull request #5720 from mrclay/5719_pre_route

Fixes #5719: Sets context from URL during system boot.