Adding a semaphore so just enters one goroutine at the time, and testing
Fixing bug for nil SessionStore values