Check auth failure on api call

Check auth failure on api call and don't call again if it happend