Enhancing cloud applications by using external authentication services