Modified authentication API.
Merge branch 'Authentication' of https://github.com/RudigerRoach/301_main_emma into Authentication