In the validate_by_openid method, you're setting the variable "self.remember_me", while a few lines below, you're using "remember_me?" (notice the question mark).
I'm not completely sure if this is a typo/bug, but it looks like it. Sorry if I'm wrong.