When I run the perforce login command in a cygwin shell running inside a mintty terminal emulator, the password prompted by perforce is visible--as I type the characters that make up my password, the characters get echoed right back to the password prompt.
$ p4 login
Enter password: abc123
I'm not sure which actor here is in charge of displaying and reading the password prompt: perforce? cygwin? or mintty?