Add failed cookie load logging and test it