[Issue #15] Add support for custom grant_type