Enhanced login for XML requests.
Merge branch 'master' of https://github.com/wdeanmedical/ehr.git