Inherit from Sinatra::Base instead of Base
Update specs to send encoded keys

In d0bbd95c168f08168a6ff629c24ba7783f0069c9 we changed to decode the
value in travis-build, which means that the ssh_key.value will be
Base64-decoded.