Python: add a CSRFOpenerDirector