Authentication prototype.