Added option to modify the timeInterval in TOTP

Most TOTP use 30 seconds for the validity window of a token. But a few
tokens use different times. This change allows for using custom timing
instead of the hardcoded 30 seconds.