add bitcoin averager
add apache external auth