Tweak the way the authSession is cleared, and added temp loggig to setting, to try figure out a common error in the logs.
Fixed the exception catching in the Application.php