[CXF-5311] More refactorings to make it simpler to use JWE helpers in JAX-RS providers