Haskell restful Auth API server