Automagically update session manager when authenticating and when tokens expire