Store a username into a session instead of whole User object

This is a fix to https://github.com/mountain-device/easyauth/issues/47

Store only a username into a session, not the whole User object, as else statement won't be a User object, which causes this bug.

@krulwich, @suprbh, @ceg1236