Fix for public_ip; Add direnv and dotenv

 * Switch to HTTPS rubygems
 * Add test for invalid login
 * Add pry for debugging