An API for creating custom authentication modules for Cascade Server