Fixed anonymous authentication bug