Get issue labels, add test for login-protected issue