fixed nasty makes-iframe-opens-on-logout bug