change exception for a 401 on error