fix run_spec.rb and extract #bearer_token