We want to be able to perform a keyserver session recovery using the new identity service-based keyserver auth.
This diff factors out a new function called innerPerformAuth, which will be used within innerPerformRecovery in the next diff.
Depends on D11498