Fix the logic determining the superuser when using the LdapBackend
Fix the logic determining the superuser when using the LdapBackend

The LdapBackend, like the default auth backend grants superuser access to the
first LDAP user to log in. This change makes sure that those changes will
persist properly.

Peddle/hue,mapr/hue,javachengwc/hue,epssy/hue,kawamon/hue,kawamon/hue,dulems/hue,abhishek-ch/hue,hdinsight/hue,ChenJunor/hue,ahmed-mahran/hue,pwong-mapr/private-hue,vmax-feihu/hue,GitHublong/hue,ahmed-mahran/hue,cloudera/hue,x303597316/hue,nvoron23/hue,rahul67/hue,jounex/hue,javachengwc/hue,jjmleiro/hue,todaychi/hue,yoer/hue,lumig242/Hue-Integration-with-CDAP,nvoron23/hue,fangxingli/hue,xiangel/hue,erickt/hue,fangxingli/hue,x303597316/hue,kawamon/hue,javachengwc/hue,cloudera/hue,dulems/hue,mapr/hue,kawamon/hue,cloudera/hue,Peddle/hue,rahul67/hue,cloudera/hue,vitan/hue,kawamon/hue,vitan/hue,ahmed-mahran/hue,vitan/hue,yongshengwang/hue,ahmed-mahran/hue,yongshengwang/hue,x303597316/hue,pratikmallya/hue,GitHublong/hue,mapr/hue,todaychi/hue,erickt/hue,azureplus/hue,cloudera/hue,jayceyxc/hue,pratikmallya/hue,pratikmallya/hue,jayceyxc/hue,pwong-mapr/private-hue,MobinRanjbar/hue,kawamon/hue,kawamon/hue,abhishek-ch/hue,azureplus/hue,xiangel/hue,erickt/hue,nvoron23/hue,cloudera/hue,kawamon/hue,MobinRanjbar/hue,MobinRanjbar/hue,abhishek-ch/hue,vmax-feihu/hue,hdinsight/hue,cloudera/hue,hdinsight/hue,jjmleiro/hue,yoer/hue,x303597316/hue,jayceyxc/hue,xq262144/hue,yoer/hue,jounex/hue,nvoron23/hue,hdinsight/hue,mapr/hue,erickt/hue,cloudera/hue,erickt/hue,abhishek-ch/hue,xiangel/hue,rahul67/hue,ChenJunor/hue,jayceyxc/hue,pratikmallya/hue,pwong-mapr/private-hue,nvoron23/hue,vmax-feihu/hue,jayceyxc/hue,cloudera/hue,azureplus/hue,yongshengwang/hue,nvoron23/hue,Peddle/hue,rahul67/hue,todaychi/hue,yongshengwang/hue,rahul67/hue,abhishek-ch/hue,x303597316/hue,xq262144/hue,xiangel/hue,epssy/hue,sanjeevtripurari/hue,javachengwc/hue,kawamon/hue,abhishek-ch/hue,epssy/hue,xiangel/hue,todaychi/hue,MobinRanjbar/hue,dulems/hue,epssy/hue,ChenJunor/hue,fangxingli/hue,javachengwc/hue,sanjeevtripurari/hue,jayceyxc/hue,dulems/hue,vitan/hue,cloudera/hue,ahmed-mahran/hue,kawamon/hue,nvoron23/hue,lumig242/Hue-Integration-with-CDAP,xq262144/hue,azureplus/hue,dulems/hue,javachengwc/hue,hdinsight/hue,jjmleiro/hue,abhishek-ch/hue,vitan/hue,jounex/hue,vitan/hue,yongshengwang/hue,kawamon/hue,Peddle/hue,rahul67/hue,ChenJunor/hue,xiangel/hue,yongshengwang/hue,vitan/hue,todaychi/hue,vmax-feihu/hue,yoer/hue,pratikmallya/hue,yongshengwang/hue,pwong-mapr/private-hue,ahmed-mahran/hue,fangxingli/hue,GitHublong/hue,azureplus/hue,Peddle/hue,x303597316/hue,yoer/hue,ahmed-mahran/hue,javachengwc/hue,sanjeevtripurari/hue,pwong-mapr/private-hue,jjmleiro/hue,jayceyxc/hue,cloudera/hue,kawamon/hue,lumig242/Hue-Integration-with-CDAP,xq262144/hue,kawamon/hue,nvoron23/hue,fangxingli/hue,fangxingli/hue,hdinsight/hue,sanjeevtripurari/hue,cloudera/hue,jjmleiro/hue,lumig242/Hue-Integration-with-CDAP,vmax-feihu/hue,xq262144/hue,erickt/hue,erickt/hue,jjmleiro/hue,ahmed-mahran/hue,jounex/hue,kawamon/hue,epssy/hue,jounex/hue,GitHublong/hue,pratikmallya/hue,hdinsight/hue,azureplus/hue,kawamon/hue,ChenJunor/hue,lumig242/Hue-Integration-with-CDAP,Peddle/hue,jayceyxc/hue,cloudera/hue,hdinsight/hue,jjmleiro/hue,yoer/hue,cloudera/hue,epssy/hue,lumig242/Hue-Integration-with-CDAP,ChenJunor/hue,MobinRanjbar/hue,yongshengwang/hue,yoer/hue,lumig242/Hue-Integration-with-CDAP,cloudera/hue,xiangel/hue,todaychi/hue,jounex/hue,lumig242/Hue-Integration-with-CDAP,jounex/hue,jjmleiro/hue,javachengwc/hue,MobinRanjbar/hue,vitan/hue,GitHublong/hue,xq262144/hue,Peddle/hue,sanjeevtripurari/hue,jjmleiro/hue,pratikmallya/hue,ChenJunor/hue,sanjeevtripurari/hue,Peddle/hue,MobinRanjbar/hue,kawamon/hue,ChenJunor/hue,azureplus/hue,rahul67/hue,yoer/hue,pwong-mapr/private-hue,x303597316/hue,dulems/hue,erickt/hue,GitHublong/hue,sanjeevtripurari/hue,pwong-mapr/private-hue,fangxingli/hue,vmax-feihu/hue,dulems/hue,Peddle/hue,x303597316/hue,mapr/hue,MobinRanjbar/hue,azureplus/hue,rahul67/hue,pratikmallya/hue,cloudera/hue,GitHublong/hue,cloudera/hue,xq262144/hue,vmax-feihu/hue,lumig242/Hue-Integration-with-CDAP,xiangel/hue,vmax-feihu/hue,cloudera/hue,mapr/hue,dulems/hue,xq262144/hue,mapr/hue,jounex/hue,todaychi/hue,todaychi/hue,xq262144/hue,jayceyxc/hue,epssy/hue,abhishek-ch/hue,todaychi/hue,fangxingli/hue,kawamon/hue,epssy/hue,sanjeevtripurari/hue,GitHublong/hue,kawamon/hue