Improve CSRF tokens caching (#10720)
Improve CSRF tokens caching (#10720)

- Update csrf_cache to return cache rather than new hash on each call.
- Cache CSRF tokens when calls are made to Devices and Profiles
    - These are called under the covers if the cache doesn't have a CSRF token yet, so in cases where the have already been called there is no need to call it again as the CSRF token can be cached from the previous call.
- Remove second call to get CSRF token.
    - The note from over a year ago indicates that the first token that came back was not valid, but subsequent ones were valid.  Today when this is removed every thing works with the first CSRF token that came back.
luongm/fastlane,icecrystal23/fastlane,fastlane/fastlane,mbogh/fastlane,bassrock/fastlane,taquitos/fastlane,hjanuschka/fastlane,cpk1/fastlane,allewun/fastlane,mbogh/fastlane,nafu/fastlane,ExtremeMan/fastlane,brbulic/fastlane,mgrebenets/fastlane,manuyavuz/fastlane,ExtremeMan/fastlane,Econa77/fastlane,luongm/fastlane,Econa77/fastlane,jaleksynas/fastlane,jaleksynas/fastlane,ashfurrow/fastlane,bolom/fastlane,cpk1/fastlane,manuyavuz/fastlane,ExtremeMan/fastlane,kohtenko/fastlane,allewun/fastlane,tmtrademarked/fastlane,adamcohenrose/fastlane,marcelofabri/fastlane,luongm/fastlane,daveanderson/fastlane,kazuhidet/fastlane,revile/fastlane,nafu/fastlane,javibm/fastlane,bassrock/fastlane,lacostej/fastlane,luongm/fastlane,ashfurrow/fastlane,tmtrademarked/fastlane,fastlane/fastlane,icecrystal23/fastlane,KrauseFx/fastlane,jaleksynas/fastlane,bolom/fastlane,jaleksynas/fastlane,tmtrademarked/fastlane,keatongreve/fastlane,adamcohenrose/fastlane,allewun/fastlane,icecrystal23/fastlane,taquitos/fastlane,keatongreve/fastlane,marcelofabri/fastlane,hjanuschka/fastlane,luongm/fastlane,daveanderson/fastlane,marcelofabri/fastlane,joshdholtz/fastlane,mbogh/fastlane,daveanderson/fastlane,nafu/fastlane,brbulic/fastlane,luongm/fastlane,farkasseb/fastlane,ExtremeMan/fastlane,jaleksynas/fastlane,daveanderson/fastlane,ashfurrow/fastlane,adamcohenrose/fastlane,nafu/fastlane,ashfurrow/fastlane,kazuhidet/fastlane,mbogh/fastlane,bassrock/fastlane,cpk1/fastlane,orta/fastlane,cpk1/fastlane,hjanuschka/fastlane,marcelofabri/fastlane,manuyavuz/fastlane,javibm/fastlane,brbulic/fastlane,javibm/fastlane,icecrystal23/fastlane,revile/fastlane,Econa77/fastlane,fastlane/fastlane,allewun/fastlane,KrauseFx/fastlane,marcelofabri/fastlane,bassrock/fastlane,keatongreve/fastlane,revile/fastlane,keatongreve/fastlane,brbulic/fastlane,keatongreve/fastlane,brbulic/fastlane,nafu/fastlane,lacostej/fastlane,cpk1/fastlane,manuyavuz/fastlane,joshdholtz/fastlane,joshdholtz/fastlane,ashfurrow/fastlane,allewun/fastlane,mgrebenets/fastlane,lacostej/fastlane,mgrebenets/fastlane,marcelofabri/fastlane,fastlane/fastlane,KrauseFx/fastlane,daveanderson/fastlane,keatongreve/fastlane,farkasseb/fastlane,mgrebenets/fastlane,brbulic/fastlane,bolom/fastlane,ashfurrow/fastlane,javibm/fastlane,tmtrademarked/fastlane,kazuhidet/fastlane,hjanuschka/fastlane,allewun/fastlane,KrauseFx/fastlane,Econa77/fastlane,revile/fastlane,bolom/fastlane,nafu/fastlane,orta/fastlane,allewun/fastlane,adamcohenrose/fastlane,manuyavuz/fastlane,joshdholtz/fastlane,kohtenko/fastlane,adamcohenrose/fastlane,javibm/fastlane,fastlane/fastlane,kazuhidet/fastlane,lacostej/fastlane,daveanderson/fastlane,luongm/fastlane,Econa77/fastlane,tmtrademarked/fastlane,mgrebenets/fastlane,tmtrademarked/fastlane,bolom/fastlane,revile/fastlane,ashfurrow/fastlane,hjanuschka/fastlane,farkasseb/fastlane,fastlane/fastlane,icecrystal23/fastlane,mgrebenets/fastlane,bolom/fastlane,brbulic/fastlane,lacostej/fastlane,ExtremeMan/fastlane,mbogh/fastlane,marcelofabri/fastlane,revile/fastlane,cpk1/fastlane,KrauseFx/fastlane,hjanuschka/fastlane,taquitos/fastlane,kazuhidet/fastlane,manuyavuz/fastlane,farkasseb/fastlane,nafu/fastlane,kazuhidet/fastlane,jaleksynas/fastlane,icecrystal23/fastlane,adamcohenrose/fastlane,farkasseb/fastlane,lacostej/fastlane,cpk1/fastlane,revile/fastlane,ExtremeMan/fastlane,KrauseFx/fastlane,bolom/fastlane,bassrock/fastlane,mbogh/fastlane,taquitos/fastlane,KrauseFx/fastlane,Econa77/fastlane,adamcohenrose/fastlane,joshdholtz/fastlane,ExtremeMan/fastlane,taquitos/fastlane,taquitos/fastlane,joshdholtz/fastlane,javibm/fastlane,joshdholtz/fastlane,kazuhidet/fastlane,farkasseb/fastlane,taquitos/fastlane,mbogh/fastlane,hjanuschka/fastlane,manuyavuz/fastlane,Econa77/fastlane,tmtrademarked/fastlane,javibm/fastlane,bassrock/fastlane,keatongreve/fastlane,daveanderson/fastlane,mgrebenets/fastlane,jaleksynas/fastlane,farkasseb/fastlane