Create apitest.js

we need hapijs and hapi-auth-cookie to be installed using npm and latest node version and redis