Set ssl protocol so plug resources can be loaded; Fixed login button detection.