Reimplemented module with new API py-authorize #4883

I think we should check the result and also wrap it under try except ?