Change test http handlers to be for prefixes instead of full paths.
Move getLocale() into DirectoryLinksProvider so it can be easily accessed within tests.
Add locale to http channel URIs and test that all server requests contain locale.