Fix exception when a suspended user tries to login