Add posibility to set tenant manually

This is usefull when using the command line, for example. It works along with the `overrideTenant` method.