My bank used to do this, and I never quite understood why. An attacker could easily mimic the site's behavior.
1. Attacker prompts me (or my grandmother) for login name. 2. Attacker gives login name to bank. 3. Bank serves proper image to attacker. Attacker stores image. 4. Profit.