Moved TOTP implementation.