The login.cfg file should have the user name and password on separate lines, with no other markup or comments.