enable login with cookies