Adds multiple credentials.

#383.