Reenable auth functions to start working on them.
[noticket] Auth now pretty much there.