Fix test_authorize_url.