Implemented more analytics tests, added ENABLE_LOGGIN option