Added a test for zero'd user ids in session creation.
Added a test for empty expiry on session creation.
Fixed commit typos.