Add exception for healthcheck plugin

Add an exception so that the healthcheck plugin can bypass
login-redirect's login requirement.
The healthcheck endpoint is commonly used without authentication.

Change-Id: I0d8ab39d0bce2525cb664975ed8d806bbe0411fb
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 ae056b0..39930cf 100644
--- a/src/main/java/com/googlesource/gerrit/plugins/loginredirect/LoginRedirectFilter.java
+++ b/src/main/java/com/googlesource/gerrit/plugins/loginredirect/LoginRedirectFilter.java
@@ -41,6 +41,7 @@
       path = path.substring(httpReq.getContextPath().length());
     }
     if (path.startsWith("/a/")
+        || path.equals("/config/server/healthcheck~status")
         || path.startsWith("/Documentation/")
         || path.equals("/favicon.ico")
         || path.equals("/login")