fix verify to accept zero padded strings

Google authentication app send zero padded strings like '012345', this patch makes sure verify will accept such strings instead of just '12345'.