tweaking errors returned from auth calls.