Fixing bug related to creation of local openids.