There is a known session cookie issue between Gallery and Geeklog. See previous posts on this site. Both use name@domain.tld as the cookie name.
If you integrate Geeklog and Gallery - essentially wrapping gallery inside geeklog and using geeklog authentication, you will not have the issue - as you no longer log directly into gallery.
Blaine