Using wrong variable to replace tenant.

The shift configuration was wrong because the user name was set as tenant.