revert to python2, add beaker cookies