Handle "401 Unauthorized" from the api