NPE during authentication #2420

This piece of code looks odd. Seems all angle brackets have been removed :-p