respect config.login_required by creating a pass-thru auth db.
in unauthed mode, use the x-forwarded-for header as the user if present.
fix lint issues.
Merge pull request #59 from gdusbabek/proxy_enhancements

Proxy enhancements