fix when redirected to a relative url

re openid/python-openid#74