bug #1723: Install user hooks after bootstrapping the database.