Added handling connect auth errors