Change to use Client.target(URI) to be compatible with JAX-RS 1.0

* Test case is correct, but fails on GlassFish due to Jersey issue:
https://java.net/jira/browse/JERSEY-2081