we need to set tenant before we require lib/setup