Automatically login when an access_token is available