Bugfix: Don't override cookies with old values

We fixed a bug where a client sometimes overrode the content of the cookie jar
with outdated or corrupted values

https://github.com/owncloud/client/pull/7831
