API Auth Library Token Update refactor