fixed logout and crypto in IE 11