Accepting numeric strings or numbers for tenant ID.

Testing the scenario mentioned in #290.