allow photon to work on admin pages
allow https urls