build SQL_REPORTING_DATABASE_URL off django database settings

Incremental change to not having to specify this at all. 

Also required for call-center unit tests.
sorry I think #3793 caused a conflict here