imported from openid_1_8.tgz