added modular auth

New commit.
If there are good reasons to have these ignores added upstream they probably should be added in a separate pull request. Otherwise you can add local ignores in `.git/info/exclude`