Adjust to new bugzilla

Signed-off-by: Michal Čihař <michal@cihar.com>
Share code for checking login

Signed-off-by: Michal Čihař <michal@cihar.com>
Test both cases of logout link

Signed-off-by: Michal Čihař <michal@cihar.com>