Fixed web UI redirection.

 - use HTTP status code 302.
 - the redirect URL should not contain the path