Fix set_dynamic_settings for projects without AUTHENTICATION_BACKENDS defined.