fix slicing crypted data
fix slicing crypted data

jh23453/privacyidea,jalr/privacyidea,wheldom01/privacyidea,jh23453/privacyidea,jalr/privacyidea,jh23453/privacyidea,privacyidea/privacyidea,privacyidea/privacyidea,wheldom01/privacyidea,privacyidea/privacyidea,jalr/privacyidea,privacyidea/privacyidea,privacyidea/privacyidea,jalr/privacyidea,wheldom01/privacyidea,wheldom01/privacyidea,wheldom01/privacyidea,wheldom01/privacyidea,jh23453/privacyidea,jalr/privacyidea,privacyidea/privacyidea,jalr/privacyidea,jh23453/privacyidea,jh23453/privacyidea