Get rid of protected user function

Hello. We spent days trying to solove this issue of protrcted users
http://www.scriptcase.net/forum/forum/scriptcase-8/discussion-aa/67057-strange-url-path-when-logging-out-of-project

How i can stop it completely? Let the users login more than one session thatvis fine as long as the function doesnt work and prevents the the users of login/logoout correctly

How i can remove this function completely? Like if not adding it at all when creating the security module?

Please respond