When the session identifier is changed, logout the user
When the session identifier is changed, logout the user

When on the source generate page, the codename is regenerated on each
request. If the user had a previous session codename is it overwritten,
but they are still considered logged in. If they attempt to hit that
page again the session will be looked up because they are logged in.

This approach ensures that the user is logged out when regenerating the
codename by destroying the logged_in flag in the session.

heartsucker/securedrop,micahflee/securedrop,harlo/securedrop,harlo/securedrop,heartsucker/securedrop,jaseg/securedrop,GabeIsman/securedrop,jeann2013/securedrop,chadmiller/securedrop,ehartsuyker/securedrop,pwplus/securedrop,jeann2013/securedrop,kelcecil/securedrop,GabeIsman/securedrop,chadmiller/securedrop,jrosco/securedrop,conorsch/securedrop,heartsucker/securedrop,jaseg/securedrop,pwplus/securedrop,jrosco/securedrop,jeann2013/securedrop,jeann2013/securedrop,ehartsuyker/securedrop,harlo/securedrop,micahflee/securedrop,jrosco/securedrop,GabeIsman/securedrop,conorsch/securedrop,jeann2013/securedrop,GabeIsman/securedrop,chadmiller/securedrop,heartsucker/securedrop,GabeIsman/securedrop,jeann2013/securedrop,kelcecil/securedrop,ageis/securedrop,heartsucker/securedrop,conorsch/securedrop,ehartsuyker/securedrop,chadmiller/securedrop,chadmiller/securedrop,pwplus/securedrop,jaseg/securedrop,kelcecil/securedrop,GabeIsman/securedrop,kelcecil/securedrop,kelcecil/securedrop,ehartsuyker/securedrop,jrosco/securedrop,pwplus/securedrop,jrosco/securedrop,pwplus/securedrop,conorsch/securedrop,conorsch/securedrop,harlo/securedrop,jaseg/securedrop,ehartsuyker/securedrop,harlo/securedrop,jaseg/securedrop,ageis/securedrop,jaseg/securedrop,ageis/securedrop,ehartsuyker/securedrop,garrettr/securedrop,garrettr/securedrop,micahflee/securedrop,harlo/securedrop,ageis/securedrop,garrettr/securedrop,pwplus/securedrop,kelcecil/securedrop,chadmiller/securedrop,garrettr/securedrop,micahflee/securedrop,jrosco/securedrop