JERSEY-2654: ServletContainer#doFilter attempts template substitution

Change-Id: Id17bd15137efa103030ecff063e1bfe7d4cde3bf