Rework ApplyAuthorizationResponseAsync and SendErrorRedirectAsync to use SendErrorPageAsync when the response cannot be applied