browse/search: Handle visit type when search pattern is an origin URL
When searching for origins with the Web UI, if the search pattern is equal to the URL of an archived origin then user gets automatically redirected to the interface for browsing it.
Previously the visit type was not taken into account prior performing the redirection so ensure to redirect only if the origin has a visit type that matches the selected one.