Fixed logic on settings.py database user and password production vs development