NR-54 : Gateway (security) component

refactor auth -> menu
NR-617 : Test and fix media archive because of security changes / refactoring

fixes on menu and auth
Merge branch 'devel' of dev.sourcefabric.org:ally-py into devel