Only use Jersey client in REST integration tests. Also check for stack trace in server error response.