Roundcube won't contact the hmail database directly but by having the auto_create_user set to true, the first time a user logs in successfully rc will create the user in the rc database as it knows that the user exists on the mail server. This user will then be used in the rc database for rc settings.
It would be worth checking you have the correct username/password set in your rc db config file.