Fix automatic set of wgAuth

Change-Id: I33b157e28d1ad928aa204fda3287bf10c0f95ceb