Security lib has been changed with new version which resolves cookie problem