Fix problems with the openId/FB registration