adapt credentials for database to use userconfig by default