Cleaner approach to getting an OAuth2 client-authorized RestTemplate without duplicating code from core.