Fix plugin bug after signup with buttons, and removed nokogiri and open-uri-redirect libraries