AME-11062 Increment counter before calculating HMAC for HOTP
AME-10566 Provide appropriate error feedback
AME-10878 Split oath mechanism into hotp and totp mechanisms