Changes for new look security

Conflicts:
	root/api/src/test/java/org/patientview/api/job/StatisticsTaskTest.java
127 - Join Request changes for Trello
Refactor of test
Security Improvements

Conflicts:
	root/api/src/test/java/org/patientview/api/job/StatisticsTaskTest.java
127 - Join Request changes for Trello
Refactor of test
Security Improvements

Conflicts:
	root/api/src/test/java/org/patientview/api/job/StatisticsTaskTest.java