fixed small error in cockpit auth