(SERVER-43) use 'strict_encode64' and add tests

'encode64' incorrectly adds a '\n' to the end of the encoded string -
use 'strict_encode64' which isn't stupid.

Also remove the errant ':' character in the 'Authorization' header used
by the ruby HTTP client.