Add Zotonic API hook to provide basic authentication