authentication using poulpe if POULPE_URL property specified; simplified code for database configuration