Fix oauth redirect