If there is an error while authenticating, show it in console.