Allow external instantiation of the ErrorPageFilter class.

In some edge cases, the ErrorPageFilter may be instantiated by a container
or configured in a web.xml.  A package private class causes
java.lang.IllegalAccessException to be thrown in these cases.  See the
following:

  #2026
  #993

Fixes #2026.