aidr-manager: Change all failure handlers in ajax request as we have now common handler.