Fix: only set oauth variables and define oauth callback route when running in mode impersonate