Make redirect_uri query string param optionally configurable