This could work without the intermediate variable.
```python
        if 'username' in kwargs:
            self.request_params['auth'] = (
                kwargs.pop('username'),
                kwargs.pop('password', None)
            )
```