changes in authentication method
restored https support
Merge pull request #34 from ntrianta/fixes

HTTPS restoration