added login authentication step to reload_data.sh

Also make the delete_all_data, and start_load steps work with rails authentication mechanism.