fix http|https src
Merge pull request #1 from SamOrlov/https_login_fix

fix http|https src