build: Make credentials a public library for OpenChange to use