simplified invoke command so that it only includes the username and password that get encoded