Testing client with restricted grant types

@todo Fix handling of grant types to check implicit flow too