Fixed database credentials being exposed in logged exceptions