Unit test added for edge redirect to login.