Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=55354
Merged revision 1514470 from tomcat/trunk:
Restore the context environment parameters after associating the Principle with the given user. Based on patch provided by Richard Begg.


git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc7.0.x/trunk@1514589 13f79535-47bb-0310-9956-ffa450edef68