Fixes #1140 Captcha doesn't show up after too many failed login attempts

Removes unnecessary (int)s and sets $user['loginattempts'] in member.php