fix bug 1317658 - try to register extension while the login failed