completes the authentication process by setting the principal. When no authentication process is running it only sets the principal.
principal to set