Switch to ArrayBuffer to fix Firefox. Use guest user creation API
port xhr.js responsetype fix from Orion