Updated authentication return value to set request.auth to the key_id used.