auth not working on http either
trying a post to the _session to get a cookie
downloading sample data when user is on wifi and added db insert

fixes OpenSourceFieldlinguistics/FieldDB#1441
for OpenSourceFieldlinguistics/FieldDB#1435 reworked to use json and cookies