If you set access of a menu item to visible only for logged-in user than only the menu item name disappears nothing else hides. Submitting direct Url/link in the browser of hidden menu shows everything in it.
It needs to be redirected to the login page or custom page.