Fix detecting changes
Fix detecting changes

The change detection was still in testing mode...
Also added a patch to enable truncation of audit data, this seems to
happen in some tests.

Working on #2477

privacyidea/privacyidea,privacyidea/privacyidea,privacyidea/privacyidea,privacyidea/privacyidea,privacyidea/privacyidea,privacyidea/privacyidea