Use a random 4 bytes for cursor checksum for in DefaultSubscription.

#2207
Fixed the unit tests to use the right prefix.