Fix bad use of context manager in git-cookie-authdaemon. urlopen objects aren't context managers, using them in a with statement requires wrapping with contextlib.closing.