Test client can't log in if session engine modifies session key
|Reported by:||russellm||Owned by:||nobody|
|Has patch:||no||Needs documentation:|
|Needs tests:||Patch needs improvement:|
The test client login() call currently saves the session *after* writing the test client cookie. However, if the call to save the session modifies the session key, the changes to the session made won't be reflected in the cookie.