Add missing credentials constructor