Fix cookie insertion
autopep8