Fix NULL pointer deref. in "acc_db_request" when "db_url" is not set
(cherry picked from commit 5d61f3789b191c04d0595aed6e1eb94392fc9e0c)