Had this problem as well.
IE8 has changed the way it stores cookeis, but unfortunately not the way it retrieves them. This means that zenphoto cannot delete the login cookie when you logout because it is not stored in the new place. But then IE finds it in the old place and voila, you are still logged in.
Manual deletion is the only solution.