I just tried Safari to login to my router to see this for myself.
If I click the Log In button, everything works fine.
If I press Enter, I'll usually be told that my password is incorrect. Sometimes I'll be let in anyways.
Safari 4.0.4, which is the latest, I believe.