Test credential loading
Draft for an alternative tcp api.