Add a null-check for getting the authenticated person
This null-check was missing before this commit and is necessary when using the non-required setting for AuthenticatedPerson annotations.
This null-check was missing before this commit and is necessary when using the non-required setting for AuthenticatedPerson annotations.