Changed API connector authentication error handling