Add is_expired property

Fixes the 500 internal server error for logging in after resetting
password.
Merge pull request #456 from magfest/85adminpasswordbug

Add is_expired property