Remove debug code.
Added dynamic configuration of login prompting. At load time we check if a document
named testconfig exists, if so, set the global variable to doc.bypasslogin.
Merge branch 'v3' into v3_devel