Updated HTTP Auth to synchronous