I have a RESTful API I\'m trying to connect with via Android and RestTemplate. All requests to the API are authenticated with HTTP Authentication, through setting the header