comment out session save while sorting out login stuff.
remove a debug alert and correct a test for authentication type