Fixed ruby warning
Genericized config
Support stacks.auth in configuration