default cookie getting to None