Making sure that we have the appropriate key for authentication