Fixed existing user account leakage on JSON endpoint and updated privly-applications module

In the event that the user account already exists, the JSON request for an invitation will return HTML. This is the fix.