Add "needs_captcha" to AccountJsonTemplate when user_is_loggedin