In Sharepoint 2007 there are some ways to determine the user's login or name which should help you.
I use an Active Directory web service which identifies the form user by their network login, even if they are accessing remotely via VPN, etc. This can also access any data in Active Directory such as location or manager, etc