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

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