I am using Zend_Auth for authentication in a web portal.
Zend_Auth
A normal mySQL \"users\" table with a login and password column gets quer
login
password
Why not just create a view that merge all 3 tables, then authenticate against that view?