Fix for ID_INVALID_PASSWORD blocking remoteSystem from freeing

Client after entering invalid password can never try to connect again,
it will always receive ID_ALREADY_CONNECTED.