Remove dbCreds.js and clean up logic around db connection string

Removed dbCreds.js file from the codebase and cleaned up the logic for creating db connection string.

cc: @jjmerino, @jamesongamble, @kmeurer, @suprbh