login dialog appears if build is triggered on an unauthorised instance (401 || 403)

Signed-off-by: Ondrej Rafaj <ondrej.rafaj@fuerteint.com>