When I am trying to set credentials for restTemplate.exchange() by either
restTemplate.exchange()
restTemplate.getInterceptors().add(new BasicAuthorizationInte