Added getattr for fakelogin. Only avaiable when running standalone.