I work in a forum as admin. I close the board for maintenance. I go to a userprofile (normal user) and say: become this user.
I see that the board is closed. I cant click logout. I be still logged in and not be able to get the login requester to relog as admin. I have to kill first my cookies.
The fix should be killing the login information if you click the logout link.