Do not hardcode the database name to users.db in db_open.

After this, db_open is generic enough.

Signed-off-by: Thiago Farina <tfarina@chromium.org>