Basic authentication working
Prior to changing to functions for interceptors
Refactored to method chaining
prior to interceptors
Some re-design of API's including interceptors and chaining