Add switch to disable preview login.