Fix MavenArtifactTest

- URLClassLoader does not follow redirects, so need to do that first
  (for URLs pointing at search.maven.org), before seeing if they
  can be resolved correctly