If it works on one machine and not another there arn't many things it can be:
One machine is screwed up in some weird and wonderful way that makes it do strange things.
On the computer in which it doesn't work your using a different browser (like Netscape 4.7?)
Try echoing out various variables to see at which points its failing, but first, if you can, and if you are using different browsers see if thats a problem.
I know from using browser ranging from IE5/5.5/6, Netscape 4.7/6, Mozilla (Unknown), Konquerer (Unknown), and some other one I forget that things can go wrong on particular browsers.
Netscape can be very picky about HTML code for example...
Can't see anything majorly wrong with yours, tho this...
<TD WIDTH="100%" ALIGN="right" COLSPAN="2">
<P ALIGN="center"><INPUT TYPE="submit" VALUE=" Login "></TD>
isn't nice...
You don't end the p tag at all, and I can't see why you use align="right" on the table row then p align to center.
If there a URL for the page? I've only got IE6 access atm, but I can try it on that if you want and are using different browsers.
IE tends to guess on HTML stuff that isn't there, or isn't ended, which may or may not be a good thing I guess.