Fixed auth error while hash cookie has wrond data