Password is no longer required for api usage.
Fix base64 encoding.
Merge pull request #27 from johnou/deprecated-password

Password is no longer required for api usage and fix for broken base64 encoding.