Strip newlines from base64 data when building Basic auth header.  Fixes #21