nextbigsoundinc/Sprintly-GitHub — pull request #7 by guildencrantz (2013-03-13 19:12:48+00:00)
Title: Fixing "#3: Invalid Credentials"

By default encode("base64") adds "\n" after every 76 characters, so
longer email addresses were resulting in "\n" characters in the
userData, which sprintly doesn't handle.

Simply removing all "\n" characters should fix issue #3 (my email/api key combination did contain 80 characters and this fix now allow me to authenticate properly).