Made supported grant types configurable.