revert temp changes to invalidateAccessToken

closes #48