Tweak (and simplify) registration of routes with panopticon

This is necessary to support the new router scheme.