How do I add a custom field to the login dialog?
Probably not.
I would imagine that the lock screen is locked down fairly tight - imagine a piece of malware that did just that - except the Automator action sent the password to a server in Bangladesh.