introducing xauth_extract_cookie