If a person dealing with a company knows that a director lacks authority, can they still assume the director is allowed to act for the company?
You cannot assume that the protection is unconditional. Section 57(a) applies in favour of a person dealing with the company in good faith, and Section 57(b) presumes good faith unless the contrary is proved. If a person knows a director lacks authority, that information may be relevant to whether the person acted in good faith, but Section 57 does not define good faith or say that this fact alone always decides the issue. Section 56(b) separately withholds the protections or assumptions in Section 56(a)(1)–(5) where the person actually knew of a lack of authority, or ought to have known because of their position or relationship with the company. That express Section 56 qualification concerns its own protections; it should not be silently added to Section 57.
Companies Act, Section 57