A standalone nodejs authentication module