Use canoncial username instead of user for auth.
Removing whitespace.
Temporarily use curl directly to get a working prototype.
Do not use mime endpoint for testing simplicity.