title: Auth headers getting removed when requesting absolute url
body: <p>When I try to make a request to a local url everything works just fine. However when I change the url to the actual url of our test server (prefixed with http) the http auth header seems to be stripped from the request.
  The commented $http... works. But the one below doesn't.
  Anyone got a clue about why that happens?</p>
  
  <pre><code>function OneCitizensList($scope, $http) {
     var username = "user",
        password = "pass";
  
     $scope.citizen = [];
     $scope.medication = [];
  
  // $http.get('/mobile/unity/patient/?patientId=36', {
     $http.get('http://something:8083/unity/medication/list?patientId=102', {
     headers: {
         'Authorization': "Basic " + Base64Encoder(username + ':' + password)
       }
       }).
        success(function(data, status, headers, config) {
           console.log(data);
  
        }).
        error(function(data, status, headers, config) {
           console.log("Error");
        });
  }
  </code></pre>