Authentication improved, added support for single entity (Patient and PracticeInvitation) creation