Fixed bug with previously logged in user automatically logged in during new session