test: add test for bad agent key, bad interactive password