Fix for JERSEY-1810: WebApplicationException is not converted into Response when thrown from EJB

Change-Id: I37834515094ef423d3141a1560f64c95c0ce9634