Fix logging in for upload wizard tests

Bug: 50130
Change-Id: I9ca509a2ee549549540abe53e833a4367bf2a27d