Prototype version of Login REST API