[Qt][WK1] Restore persistent cookie storage support

For non-libsoup builds. Adaptation of commit 25bd02187078b272205038d6ba9cfba5de59899c