handle Authentication error see #3