How to manually update the authentication scheme of a realm.