Start by isolating the steps. The username is in the formdata? Can you run the openssl command-line program, for example, to encrypt the username you get?
-- Principal Security Engineer Akamai Technologies, Cambridge MA IM: rs...@jabber.me<mailto:rs...@jabber.me> Twitter: RichSalz