Bug fix: Login catch exception not working #3