Rails engine providing multitenancy support and authentication/authorization for Oneslate app