Use ssl property to determine, if redirects to login shall switch to ssl.