Pluggable authentication support for Graft.js