Only active users can log via federation support added.

Only active users can log via federation support added.

#refs 1286