Add is_expired property

Fixes the 500 internal server error for logging in after resetting
password. Closes #398.
Looks goodl this must have gotten deleted and then re-added into master but not the m85 branch.