Better *GrantTypeHandler test case, doc and implementation.