AGOVA-33 NPE when no OAuthSession producer is found
Adding test and correction to bug fixing