def check_user(user, password):
    """check the auth for user and password."""
    return ((user == attowiki.user or attowiki.user is None) and
            (password == attowiki.password or attowiki.password is None))
check the auth for user and password.