Passing tenant id to build_app

Change-Id: Id6f18507fcf136583ace28e39b93aac16a095a21