There were a couple of things that were going on but the main reason that the login to the admin was not successful was because the include file for the globals was below the code on the page that makes use of it. The fix was to cut and paste the include line for the globals to the top of the page, this got it working again.