ITI-1800: Fix middleware server crash and enable logging to hipchat