Apply JDBC-based authentication.