Rewrite non-TUX urls in TUX mode

Bug: 45334
Change-Id: Id08f259480c6379320e09f19420dc6d20f886eb2
Merge "Rewrite non-TUX urls in TUX mode"