Optimized part of authentication for minecraft