Fixed auth response bug that caused crash

Modified auth library, was previously causing a malformed
AuthResponse message to be sent when a user's session was expired.
Added code to fix it.
Merge pull request #1 from SVMP/1.5-pre

Fixed auth response bug that caused crash