1). Factored code out from Bugzilla::Auth::DB->authenticate() into
separate methods so we can use them externally. Add extra API to DB.pm,
which is currently used only internally (pending part 2). r=bbaetz, a=justdave
git-svn-id: svn://10.0.0.236/trunk@150115 18797224-902f-48f8-a5cc-f745e15eee43