making credential error show up sooner