better auth failure debugging