Bugfix: Do not hard code 'main' as Galaxy server name.

Determine correct server name corresponding to at least a web request at runtime.