Add new functions to database.php. Add DATABASE_PASSWORD (authentication with password)
(cherry picked from commit ff2e799)