More temp fixes in context_processors.py
Fix DB_DATASTORE references
Hide perms widgets if GS_SECURITY_ENABLED = False