disabled login with empty string as password
set session id in case of successful registration