Fixing angular tests.
Setting Authentication factory's user object to null if window.RankCFB
is undefined.