Add pluggable servlet context filter to ui

This is useful to enable authentication of users to the UI with the
appropriate configured filter.