OK, how did you create the login.sh file? Did you create it on your Windows computer and put it on a USB drive? If so, I think that is the problem. The file has DOS-style line endings (\r\n) instead of UNIX-style (\n).
Do this:
sed -i 's/\r//' login.sh
and try running it again.