Alter checkTotp to allow timedrift to be set as optional parameter