URLInterceptor: preserve URL fragment when doing redirects
A <form action="url/#anchor"> that ends up resulting in a 301
redirection to a URL without an anchor is supposed to go to the
final redirection with the #anchor preserved.
This seems to mirror behavior of other browsers.