replace UserChecker checkPostAuth by checkPreAuth in LoginManager