Fix specification of credentials