Fix minor bug in WebApplicationBase where raising notice if session variable contains array

Fix minor bug in WebApplicationBase where raising notice if session
variable contains array