Fix oauth flow + cron process