Handle 401 errors.