Fix tagging tests

Fixes errors related to 
  tests/ui/cloud/test_tagging.py
  tests/ui/infrastructure/test_tag_infrastructure.py