Auth on agents, more tests