fix logging in build_from_response; update TokenCache warning  message