adapt djopenid example to work with django 1.4 (fixes #51)