Refactor how StormPath config is handled.