Added login to command test