Title: #5296: [Backport][ipa-4-8] Fix scope on pytest fixture in krbtpolicy tests
This PR was opened automatically because PR #5281 was pushed to master and backport to
ipa-4-8 is required.
To pull the PR as Git branch:
git remote add ghfreeipa https://github.com/freeipa/freeipa
git fetch ghfreeipa pull/5296/head:pr5296
git checkout pr5296