Always logout on login
The changeset b98bdf6540a8 disabled the logout call when login. This date from the time we were using a custom protocol with socket.
Now, the rpc knows if there is a session to logout or not. So it is better to always call logout even on login because this clean the session from the table.