Revert "Revert "Implement token generation code for requests. #7006""
Revert "Revert "Implement token generation code for requests. #7006""

This reverts commit f9175e87e5bd6fcccd4856c40a7ecd1cd6e946db.

htcondor/htcondor,htcondor/htcondor,htcondor/htcondor,htcondor/htcondor,htcondor/htcondor,htcondor/htcondor,htcondor/htcondor,htcondor/htcondor