Fix authentication spec