fixing contextPath handling so that the contextPath for the war is ignored and not including in the matching