Added fix for not being able to view user principals post login.

    * Added fix for user principals not available post login.