Update join_cluster.rb

Different implementation of getting the api key