Adding in auto authorization for when the salesforce token session expires, along with some tests.