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