Add support for credentials OAuth 2.0 flow
Support token type in uppercase