Fix test framework: bug in assertStdoutIs() et al

Could overwrite the latest stdout or stderr file produced by execute()
fixup! Rewrite bundle author authentication logic