I\'m using pyramid authentication and here is my below code to remember the request and see if the same user is authenticated.
userid = \'editor\' headers = r