use viaSSL property  by login page
Merge pull request #18 from ebf/xiaodong

use viaSSL property  by login page