Make setting up OTPs work in the client-side data model.