Jon: Replacing HtmlUnit in favour of using Spring's web client RestTemplate.