Add logging to the OpenID API v1