fixing jira issue - User does not log out properly when Local Transport ...

...is configured - CARBON-14947