Small refactorings
Added regid and swidtag tests
Added new auth app with useful mixins
Enforce permissions in SWID views

User should be logged in to view permissions.
Added test to verify the login permissions