Version with cookies check in prelogin and fix for richiedente change at practice creation time