Format command for rep login