1. Fix the multiple authentication bug.