create agents, login and do a connection test