Merge pull request #424 from priand/playground

Made the code more robust in the library servlet
Added runtime filters to the Java authentication samples