Switch to cookies for user sign in