Bugfix: sun.misc.BASE64Encoder was wrapping encoded strings strings with newlines (thus breaking Authorization header field). Switched to a more standard (supported) base64 encoder javax.xml.bind.DatatypeConverter.
Bumped to v0.2.1; JAR updated.