Automatic client v1 token refreshing