I was starting to learn the eveapi code and wanted to see how this example worked. It didn't, so I took some time to find out why it wasn't working. The solution of only doing the authentication once is more efficient, and makes the code a little cleaner. Let me know if I've missed something.
This was unit tested it under Python 2.7, but let me know if there is a specific environment in which the change doesn't work.