fixed logging
fixed server key AUTHORIZATION to HTTP_AUTHORIZATION