[SYNCOPE-490] improved SyncopeSession and login to prevent error page visualization after failed login and manual page reload

git-svn-id: https://svn.apache.org/repos/asf/syncope/trunk@1593254 13f79535-47bb-0310-9956-ffa450edef68