Issue #20265 Fix OAuth redirect bug when logging in. Finish dialog form.