Allow /tools/hooks/

Change-Id: I1e5005f9ab2f69ee4507fa82ce8094e86dd28e14
diff --git a/src/main/java/com/googlesource/gerrit/plugins/loginredirect/LoginRedirectFilter.java b/src/main/java/com/googlesource/gerrit/plugins/loginredirect/LoginRedirectFilter.java
index 4073e85..622ee48 100644
--- a/src/main/java/com/googlesource/gerrit/plugins/loginredirect/LoginRedirectFilter.java
+++ b/src/main/java/com/googlesource/gerrit/plugins/loginredirect/LoginRedirectFilter.java
@@ -48,6 +48,7 @@
         || path.startsWith("/Documentation/")
         || path.startsWith("/static/")
         || path.equals("/ssh_info")
+        || path.startsWith("/tools/hooks/")
         || sessionProvider.get().isSignedIn()) {
       chain.doFilter(request, response);
     } else {