Raises AuthError when API key is wrong

We should separate determisitc and non-determisitc error.
And I improve error message.