Raise on API auth errors