fix context key check for optional tabs

If `TROVE_ADD_USER_PERMS = ['disabled']`, then `context['user']` will result in a KeyError, because the key is not present. Same goes for 'databases' and 'backups'.