Moved auth to addon/lib