Client-side PHP code for cesium user authentication.