fix to use pyramid db connection settings

The DB connection settings have been broken by the latest
modifications from feature_organizeimports. This corrects
to comply with the new config rules in the application's
entry points.