Configuration for skipping session data restoration after login

I was having some performance issue with the code that restores the session data after the login. My app does not need to save and restore the session data, so I created a configuration that allows it to skip this behaviour.