aklog: check ccache errors in get_user_realm