Exit on invalid auth

Exit the application when we get invalid authentication response