Lazily create a RestTemplate to make sure that all properties have had a chance to be set.