fixed the false 32-bit validation of tenant-id

Fixing the verify_validity for tenant. Now it accepts non-32 digit integers/hex as the tenant id.