Fixed tests for Python-3. Small fix in the cookie value for Python-3.