your problem is that the browse is a popup, and the login is a popup, and when you choose the Browse option (from the menu) it tries to open the login form. Alas that particular combination - where the login is a popup and the browse is a popup is not currently supported.
Your best option is to set the menu item as "requires login" as well, that way the user can't go down this route.
cheers
Bruce