[TASK] KYC: Refactor authflowRemote.js