Revert "Quickfix: convert location field auth data to json if it's a hash"

This reverts commit 133d2c54f99ff9e0dc256104f5ae4f7cac993a1c.