Fix module tree to match devise better.
Set config keys on resource class.