that will take some hand coding to accomplish.
I would pass the username as a URL variable to the failed login page, and add the insert on the failed page.
If you need help setting this up we can help through a premiere support appointment:
http://www.webassist.com/premier_request.php