If the app has a context path then the route locator does not match the whole requestURI (as provided by the raw servlet API), but Spring has a utility for stripping it off, so we can just use that. Fixes gh-270