- Minor fix to authorisation grant
- Improve test coverage