Fixes two bugs in the new OpenId implementation.