Updated decorator to not check for http auth if user is logged in.