Updated basic auth to accept token source set