AngularJS service for handling HTTP authentication and request queuing.