Fixed Login/out handler inheritance.