emacs: Authentication by gitcookies

Instead of authenticating and identifying oneself by user, make use of
a gitcookies file instead. Now users can access internal Gerrit hosts
and are not required to set their user.

BUG=chromium:1111775
TEST=Loaded using test Emacs init.el and tested gerrit-comments interface.

Change-Id: Ie645bbfe4c31044a16ed48b33968832e16dc4c91
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/dev-util/+/2331864
Tested-by: Aaron Massey <aaronmassey@chromium.org>
Commit-Queue: Aaron Massey <aaronmassey@chromium.org>
Reviewed-by: Sean McAllister <smcallis@google.com>
1 file changed