core: prevent session check popups while redirecting after logon authentication. Issue #816