stop execution when unauthenticated, to prevent the page to show when canceling auth popup
fix failing tests
Merge pull request #1185 from ceeram/2.4-unauthenticated

stop execution when unauthenticated, to prevent the page to show when ca...