HapiJS Client Side authentication sample code