dont forget that since this is a new form of authN, this if block should return a well formed auth response like that other auth blocks here... e.g.
```python
            return {'user': user, 'credential': credential,
                    'auth_type': 'api_key'}
```