#29 also log the key id used.
#29, Fixed case when we need to reset the key we use based on the request we get from the response.