Replace old username extraction with a new one in iOSVariantEndpoint.