Resolve "External postgres django error: relation "users_profile" does not exist"
requested to merge 621-external-postgres-django-error-relation-users_profile-does-not-exist into master
Catch the ProgammingError exception that is thrown when trying to fetch FEDERATION_USER on an empty DB. While we're at it, don't try to fetch FEDERATION_USER when it's not defined.
Closes #621 (closed)