support 0.3.X of authorize