Modified export_database.

* Removed basic authentication header function.