A possible way might be to store both the hashed password and the original password.
Then you would use the hashes to compare, but send the original upon request.
I'm not very sure of the security implications of that though, but since comparing hashes just like that isnt all that secure anyway, it shouldnt matter most of the time.