improved login test
ordering as it should be