Test client can't log in if session engine modifies session key
|Reported by:||Russell Keith-Magee||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.