Manual:$wgDisableCookieCheck

Details
If set to true, this disables the use of session cookies to save user login data.