auth_user support to pull credentials from db directly

(this pull request will be updated after other pull requests have been merged in)