title: Jersey is not following 302 redirects
body: <p>I am connecting to a server which first goes to an auth login page and then redirects.</p>
  
  <pre><code>ClientConfig config = new DefaultClientConfig();
  config.getProperties().put(ClientConfig.PROPERTY_FOLLOW_REDIRECTS, true);
  Client client = Client.create(config);
  client.setFollowRedirects(true);
  WebResource service = client.resource(UriBuilder.fromUri(url).build());
  
  String output = service.path(resource)
          .path(model)
          .path(id)
          .accept(MediaType.APPLICATION_JSON)
          .get(String.class);
  </code></pre>
  
  <p>This is throwing an exception: </p>
  
  <blockquote>
    <p>Exception in thread "ThreadJob"
    com.sun.jersey.api.client.UniformInterfaceException: GET <a href="https://url" rel="noreferrer">https://url</a>
    returned a response status of 302 Found
        at com.sun.jersey.api.client.WebResource.handle(WebResource.java:688)
        at com.sun.jersey.api.client.WebResource.access$200(WebResource.java:74)
        at com.sun.jersey.api.client.WebResource$Builder.get(WebResource.java:509)</p>
  </blockquote>
  
  <p>Jersey version 1.19</p>