Create a new account with agent code and password