WP-4741 A little change in our approach to handling the cas login