Set autologin cookie to https and http only