Hi,
I think the issue with the first example you mention is that you need a Shiny Server Pro instance to have an user login functionality. From my opinion, you should be fine by removing the complete reactive that includes curUser <- session$user in the code example on github and set the variables manually.
Best regards,
Sebastian