Fixed guest login bug.