grant: support response_mode as optional parameter