Exact Online authentication middleware