Add support for PureDB authentication