Nodejs authentication module working with tokens stored in redis with user data