Make realm name configurable