Use strict_encode64 

The current way of generating the base64 encoding of the credentials breaks for very large org names due to this:
http://stackoverflow.com/questions/2620975/strange-n-in-base64-encoded-string-in-ruby

Use strict_encode64 instead.