add nice error message when exchange of token returns 401 #11