Powerful and extremely flexible authentication