Fixed testsuite for login persimissions tests