Created middleware to safely force users to change passwords on expiry
Fixes #117