Issue #19297 Change redirect for errors so hits to /login/scope don't ki...

...ll the datasrouce.