convert authorize, check_password, and related to non-blocking