Auto-login on reg fixed