added simple examples for principals use and authentication

 * added an example showing off principals and httpauth (as simple as it can be)
 * added an example showing off principals and login+wtf