LPS-36538 - Do not show login dialog if there will be URL redirect