Password protecting does and it doesn't do the same thing
The difference is that password protecting the gallery only requires you to enter the gallery password. This just makes the gallery viewable.
Forcing a login via printLoginForm in the admin functions requires you to use an actual user login which then provides you with a certain level of permission based upon your user id. That way you are set to edit your albums and view and comment on other albums.
The thing that this really changes compared to the way things currently work is to basically implement admin logins as a form of general user login by directing you to gallery pages instead of straight back to the admin page. It also allows a more generalized login concept compared to how you currently have to know where the login page is in order to access it.
I hope that makes sense. I think it is what carlyman is doing/needed with the code provided. I don't have a specific need for this feature myself, but I can definitely see the value in it for others. I will try to test out what you've implemented if I have time this weekend. I'm laying in sod in the backyard, so may not get around to it.