Better auth failure detection