Added client key directory creation to client initializer.