Add auth modes and credentials tests