Fix for JERSEY-1930: Port support for subject-based security from Jersey 1.x

- also ignored client unit test that fails in some environments.

Change-Id: I693aef408c0d5e1e26f393998efdbc05d4a74485
Signed-off-by: Jakub Podlesak <jakub.podlesak@oracle.com>
Merge "Fix for JERSEY-1930: Port support for subject-based security from Jersey 1.x"