Revamp AuthorizationCodeGrantTypeHandler with Validator.