Source code for Embercast: "Client-side Authentication - Part 2"