The
Login against two tables discusses it partly.. But it might not be a final made solution for you, altho it does give some input to how it can be done from
post 18
Another thread which would be a good read, is the
md5-hash password, it discusses the use of salt and md5 to hide password infos.