Fixed code allowing the application to pull credentials from an embedded database.