Added support for MSC4363 (OAuth step-up authentication). Contributed by @ginger.