libfreerdp-core: fix reconnection using client random