core: Allow configuring DB/auth from environment