Privileged app and origin only usefull for packaged app (quick fix for now)