adaptation of occi client authentication for use by multi threaded servers and
multi threaded clients