updates to add workauth support and functional tcs api