fix session test, rename username->email