def METHOD_NAME():
    session = AuthSession()
    session.credentials.set_password('testuser', 'hunter2')
    session.credentials.set_client_certificate('client-certificate.pem')
    session.credentials.set_cookie('TEST_COOKIE', 'BADCOOKIE')
    service = pyvo.dal.TAPService('http://example.com/tap', session)
    service.run_async("SELECT * FROM ivoa.obscore")