Added recovery for when api sends 401 - unauthorized