fix test authorize link with multi-redirect-urls

When an application have multi redirect URI, the test authorize link will bug