Fixed the failing main frame test which failed at logout.