I'm embedding to integrate with an apache login mod that sets REMOTE_USER (pubcookie if you're interested, although the embedding should be more or less generic to anything that hooks in through that). But I can't figure out how to tell gallery to send the login/logout links somewhere else.
I have set loginRedirect in the init call, but that doesn't seem to do anything, at least if you click the login link. Logout link is present, but doesn't do anything, since the user gets logged in by environment variables.