(Issue #315) Making all authentication mechanisms honour the config state
(Issue #315) Code clean-up from self-review
Merge branch 'master' into issue-315

Conflicts:
	node_modules/oae-authentication/lib/api.js
	node_modules/oae-authentication/lib/init.js
(Issue 315) Adding unit test for disabling local auth.
Merge pull request #315 from mrvisser/issue-315

Make local authentication use config variable