Db config was hardcoded to "admin" when using auth. Now uses the correct value from the config.