Authentication against multiple mysql databases