* add bearer authentication support to js client * add bearer format to js client * fix test case * update php ze-ph samples