CORE-5559: Added auth failed query string and
redirect dialog.