I think this should be:

```
@skipUnless(settings.FEATURES.get('AUTH_USE_OPENID') or
                    settings.FEATURES.get('AUTH_USE_OPENID_PROVIDER'),
                    "OpenID not enabled")
```