login test with basic authorization