Fix realm not being saved after changes in KeycloakConfigurator.