Fix bdb cookie store