Probably because you changed the password for mobile and not for root. MobileTerminal defaults to user logged in, mobile. When you are using SSH to transfer files, etc you need to use root. You SSH to your iPhone with a terminal from your PC using root/alpine, then type passwd and change the password. Then type passwd mobile and change mobile's password.