#927 ssl-optional use https protocol in login form