#81 Added initial code to authenticate against AD.  This means that the ...

...web app now needs AD to work correctly.  Additionally integration tests that require AD authentication are likely now failing.  Also fixed breaking change to business logic.