Fixed bug in authenticationHeaders
Fixed extra char returned in base64encode
Merge pull request #2 from kachakil/master

Fixed bug in authenticationHeaders