fix permission error after admin login. Fixes #577
Merge branch 'master' of github.com:impresspages/ImpressPages