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

...is configured - CARBON-14947
1) Original error is getting lost here. We need to log and/or throw the original error. 
2) Remove the printStackTrace()