Login with username, password and session length
The PageLen property has been removed. Use self.ThisPage.Length() instead.