Use new HaveAPI hook system to catch post_authenticated
Transaction destroy branch: fix params
Chain rotate: fix tree rotation
Update hooks, use extension ActionException