update redirecturi format for broker

Issue #295