bug fix

the password was needed for the database before it was read from file