Fix test_authorize_url test.