Backend authentication module for a node server which works with ember-auth