When AUP integration is enabled link avatar for guests are incorrect

When AUP integration is enabled, the link for avatar in Kunena profile for guests are incorrect