Fix sending the cred when it's the same on the server.