SQL auth against existing database