Add a lock around acquiring an oauth session so multiple threads don't collide.
Add a lock around acquiring an oauth session so multiple threads don't collide.

phac-nml/irida-miseq-uploader,phac-nml/irida-miseq-uploader