Fix issues with check_auth. Implement fetch_client_for. Add 'modauth' app command for basic mod scopes.