REST LoginModule impl

+ REST Servlet and Demo application (most of the app code taken from
LoginModule implementation tutorial)