Cast the filter condition of success to int
Cast the filter condition of success to int

In all cases where we filter for "success" on the
SQL audit table we cast to int.

Fixes #751

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